package com.jicheng.service;

import com.jicheng.dto.account.AccountParams;
import com.jicheng.dto.user.SuperviseUserParams;
import com.jicheng.dto.user.UserDataParams;
import com.jicheng.dto.user.UserDto;
import com.jicheng.dto.user.UserPagingParams;
import com.jicheng.ext.dto.PagingResult;
import com.jicheng.ext.util.ParamsValidator;

import java.util.List;

public interface IUserService extends ParamsValidator {

    void create(SuperviseUserParams params);

    void update(SuperviseUserParams params);

    List<UserDto> getList(UserPagingParams params);

    UserDto getById(String id);

    void syncData(UserDataParams params);

    void saveAccount(AccountParams params);

    int exist(String appId);
}
